home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 66
/
Vol 66.iso
/
games
/
doodle_d.swf
/
scripts
/
frame_91
/
DoAction_4.as
< prev
next >
Wrap
Text File
|
2013-04-24
|
928b
|
41 lines
function spawn()
{
if(eNumb < 5)
{
eAmount++;
eNumb++;
depth = _root.getNextHighestDepth();
_root.attachMovie("en2","e" + eNumb,depth);
e = eval("e" + eNumb);
e._x = Math.random() * 640;
e._y = 880;
e.che = eAmount;
}
if(eNumb2 < 5)
{
eAmount++;
eNumb2++;
depth = _root.getNextHighestDepth();
_root.attachMovie("en6","e" + (eNumb2 + 5),depth);
e = eval("e" + (eNumb2 + 5));
e._x = Math.random() * 640;
e._y = 880;
e.che = eAmount;
}
if(eNumb3 < 5)
{
eAmount++;
eNumb3++;
depth = _root.getNextHighestDepth();
_root.attachMovie("en15","e" + (eNumb3 + 10),depth);
e = eval("e" + (eNumb3 + 10));
e._x = Math.random() * 640;
e._y = 880;
e.che = eAmount;
}
}
var eNumb = 0;
var eNumb2 = 0;
var eNumb3 = 0;
var eAmount = 0;